package com.mh.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

//Excel的多个Sheet导入表2
@ExcelTarget("loginUrl")
public class LoginURL implements Serializable {

    @Excel(name = "用户ID", orderNum = "1")
    private String uId;
    @Excel(name = "请求类型", orderNum = "2")
    private String type;
    @Excel(name = "访问地址", orderNum = "3")
    private String url;

    //空参,有参,set(),get()
    public LoginURL() {
    }

    public LoginURL(String uId, String type, String url) {
        this.uId = uId;
        this.type = type;
        this.url = url;
    }

    public String getuId() {
        return uId;
    }

    public void setuId(String uId) {
        this.uId = uId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "LoginURL{" +
                "uId='" + uId + '\'' +
                ", type='" + type + '\'' +
                ", url='" + url + '\'' +
                '}';
    }
}
